/* main function for ND++ minesweeeper game
Programmer:  Prof. Scott

Type "make" to build this project on a unix/mac terminal window.

This main function will only play one game by instanciating a board object and calling its "play" function

Asking the user if they would like to continue, saving high scores, etc. are left for future work.

*/

#include <QApplication>
#include <iostream> // cin and cout
#include "Board.h"   // include board

int main (int argc, char* argv[]) {
	QApplication app(argc, argv);
	Board* ms_board = new Board();
	ms_board->show();
/*	while(1) {
		ms_board = new Board(); // new board for each game
		ms_board->play();   // start a game
		
		int playagain = 0;
		cout << "Play again? (1 = yes; other = no) ";
		cin >> playagain;
		if(playagain != 1) break;
		// asks the user if they want to play another game
	}
*/
	return app.exec();
} // end main
